package pers.xuyong.strive.datastruct.tree;

/**
 * 二叉树
 *
 * @author billymac
 * @version 1.0
 * @date 17/8/7  上午11:09
 * @since JDK1.8
 */
public interface Tree {

    boolean insert(double value);

    boolean insert(int key, double value);

    Node remove(int key);

    Node findNode(double value);

    Node findNode(int key);

    void display(Node node);

    void leftDisplay(Node node);

    void rightDisplay(Node node);
}
